package ccc;

import java.util.Scanner;

public class Demo {
	public static void main(String[] args) {
		int s;
		Scanner in=new Scanner(System.in);
		System.out.println("please enter your score:");
		s=in.nextInt();
		
		switch(s/10){
		case 10: 
		case 9: System.out.println("优秀");break;
		case 8: System.out.println("良好");break;
		case 7: 
		case 6: System.out.println("合格");break;
		default:System.out.println("不合格");
		}
	}
}
